print-editor: Cosmetics
authorMatthias Clasen <mclasen@redhat.com>
Sun, 10 May 2020 16:59:27 +0000 (12:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 May 2020 12:15:55 +0000 (08:15 -0400)
Make the about dialog a bit less barren.

tests/print-editor.c

index 646f3fe93f4f23d6a98393de7a179eb07973f167..8b90af1efedcba475bee800de74ab946080efd96 100644 (file)
@@ -1,3 +1,4 @@
+#include <config.h>
 #include <math.h>
 #include <pango/pangocairo.h>
 #include <gtk/gtk.h>
@@ -580,10 +581,10 @@ activate_about (GSimpleAction *action,
   };
   gtk_show_about_dialog (GTK_WINDOW (main_window),
                          "name", "Print Test Editor",
-                         "logo-icon-name", "text-editor",
-                         "version", "0.1",
-                         "copyright", "(C) Red Hat, Inc",
-                         "comments", "Program to demonstrate GTK+ printing.",
+                         "logo-icon-name", "text-editor-symbolic",
+                         "version", PACKAGE_VERSION,
+                         "copyright", "© 2006-2020 Red Hat, Inc",
+                         "comments", "Program to demonstrate GTK printing.",
                          "authors", authors,
                          NULL);
 }